import React from 'react'
import {render} from 'react-dom'
import { Tabs, Tab,Container,Row ,Col} from 'epm-ui'
import { Router, Route, browserHistory, IndexRoute } from 'react-router'  //使用路由
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import reducer from './redux/reducers'
import routeConfig from './routes/indexObject'

const store = createStore(reducer)

render(
    <Provider store={store}>
        <Router routes={routeConfig} history={browserHistory}/>
    </Provider>,
    document.getElementById('app')
)